#!/bin/bash

# 测试登录功能
echo "Testing login functionality..."

# 发送登录请求
curl -X POST http://localhost:8081/api/login \
  -H "Content-Type: application/json" \
  -H "X-Encrypted: true" \
  -d '{
    "encrypted": "kDkpdApTiFjVO4I9UdBM646+e0BGFGV6JIFnIxoywNcrYWkzZdZzmODFw+L+jvzB"
  }' \
  -v

echo -e "\n\nDone!"
